#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from dragon.locatordetail import LocatorDetail

class Calendar:
        #日历
    optionalDate=LocatorDetail('div[tabindex="-1"].van-calendar__day','可选日期')
    latestMonth=LocatorDetail('div:nth-last-child(1) > div.van-calendar__days','最近一个月')
    confirmButton=LocatorDetail('div.van-calendar__footer.van-safe-area-bottom','确定按钮')
    cancelButton=LocatorDetail('i[role="button"]','取消按钮')
    selectedDate=LocatorDetail('div.van-calendar__day.van-calendar__day--selected','已选中的日期')


